<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:include="/shop/include :: header"></head>
<body>
	<form class="layui-form" action="" lay-filter="shop_platform_seeting-update-form" style="margin-top: 20px;">
		<input th:value="${session.formToken}" name="formToken" type="hidden" />
		<input name="id" th:value="${shopPlatformSeeting.id}"
			type="hidden">
		<!--  -->
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">平台抽成比例 百分比：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="platformProportion"
					th:value="${shopPlatformSeeting.platformProportion}" name="platformProportion"
					placeholder="请输入平台抽成比例 百分比">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">供应商抽成比例 百分比：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="supplyProportion"
					th:value="${shopPlatformSeeting.supplyProportion}" name="supplyProportion"
					placeholder="请输入供应商抽成比例 百分比">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">代发超时赔偿 每小时：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="compensationPrice"
					th:value="${shopPlatformSeeting.compensationPrice}" name="compensationPrice"
					placeholder="请输入代发超时赔偿 每小时">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">平台负责人：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="responsibleName"
					th:value="${shopPlatformSeeting.responsibleName}" name="responsibleName"
					placeholder="请输入平台负责人">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">联系电话：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="platformPhone"
					th:value="${shopPlatformSeeting.platformPhone}" name="platformPhone"
					placeholder="请输入联系电话">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">邮箱：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="email"
					th:value="${shopPlatformSeeting.email}" name="email"
					placeholder="请输入邮箱">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">平台介绍：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="platformDetail"
					th:value="${shopPlatformSeeting.platformDetail}" name="platformDetail"
					placeholder="请输入平台介绍">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">添加时间：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="createTime"
					th:value="${#dates.format(shopPlatformSeeting.createTime, 'yyyy-MM-dd HH:mm:ss')}"
					name="createTime" placeholder="请输入添加时间">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">修改时间：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="updateTime"
					th:value="${#dates.format(shopPlatformSeeting.updateTime, 'yyyy-MM-dd HH:mm:ss')}"
					name="updateTime" placeholder="请输入修改时间">
			</div>
		</div>
 		<!--  -->
		<div class="layui-form-item">
			<label class="layui-form-label">：</label>
			<div class="layui-input-block">
				<input class="layui-input" lay-verify="required" autocomplete="off" id="deleteFlag"
					th:value="${shopPlatformSeeting.deleteFlag}" name="deleteFlag"
					placeholder="请输入">
			</div>
		</div>
 		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="shop_platform_seeting-update">立即提交</button>
			</div>
		</div>
	</form>
	<div th:include="/shop/include::footer"></div>
	<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
	<script>
		layui.use([ 'layer', 'jquery', 'form', 'laydate' ], function() {
			var $ = layui.jquery;
			var laydate = layui.laydate;
			var layer = layui.layer;
			var form = layui.form;

			//日期时间选择器
        			laydate.render({
				elem : '#createTime',
				type : 'datetime'
			});
 			laydate.render({
				elem : '#updateTime',
				type : 'datetime'
			});
  
			//监听提交
			form.on('submit(shop_platform_seeting-update)', function(data) {
				//提交数据data.field
				ajaxPostLoad("/shop/platform_seeting/update", data.field);
				return false;
			});
		});
	</script>
</body>
</html>